import Vue from 'vue'
import VueRouter from 'vue-router'
import CinemaRoute from './Cinema'
import MovieRoute from './Movie'
import MineRoute from './Mine'

Vue.use(VueRouter);
import Cinema from '@/views/Cinema'

export default new VueRouter({
    mode:'history',
    base:'/miaomiao/',
    routes:[
        CinemaRoute,
        MovieRoute,
        MineRoute, 
        {
            path:'/*',
            redirect:'/movie/nowplaying'
        }

    ]
})


